package com.example.shgt.entity;

public class RegisterInfo<T> {
    private String msg; // 响应的消息
    private int code;   // 响应的状态码
    private String data; // 其他返回的数据

    // Getters 和 Setters
    public String getMsg() {
        return getMsg();
    }

    public void setMsg(String message) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "RegisterInfo{" +
                "msg='" + msg + '\'' +
                ", code=" + code +
                ", data='" + data + '\'' +
                '}';
    }

}
